package Lesson.Student;

public class Demo1 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("abc");

        long start = System.currentTimeMillis();
//        String s = "abc";
        for (int i = 0; i < 5000; i++) {
            sb.append("123456");
//            s += "123456";
        }

        long end = System.currentTimeMillis();

        System.out.println(end-start);
    }
}
